package people.paper.tv.activity.home.modual.sptt.view;

import android.view.View;


import java.util.List;

import people.paper.tv.activity.home.HomeFragment;
import people.paper.tv.activity.home.modual.rmrb.view.impl.RMRBViewImpl;
import people.paper.tv.activity.home.modual.sptt.presenter.SPTTPresenter;
import people.paper.tv.activity.home.modual.sptt.view.data.VideoData;
import people.paper.tv.activity.home.modual.sptt.view.impl.SPTTViewImpl;

public interface SPTTView extends HomeFragment.FragmentView<SPTTPresenter> {
    SPTTViewImpl getView();
    void showError(int errCode);
    void onVideoNewsLoaded(int page, List<VideoData> dataList);
    void setVideoPlayer(View videoPlayer, boolean isHorizontal);
    void clearVideoPlayer();
    void setCurPlayId(int position);
    void startLoading();
    void stopLoading();
    void startPlay();
    void stopPlay();
    void refreshDuration(long total, long duration);
//    void setOrientation(boolean isHorizontal);
}
